cmake_minimum_required(VERSION 2.6)
PROJECT(luaboost)
OPTION(CMAKE_VERBOSE_MAKEFILE ON)
INCLUDE_DIRECTORIES(luastatic luabind .)
IF(UNIX)
	ADD_DEFINITIONS(-DLUA_USE_LINUX)
ENDIF(UNIX)
ADD_DEFINITIONS( )

ADD_SUBDIRECTORY(luastatic ${PROJECT_SOURCE_DIR}/bin)
ADD_SUBDIRECTORY(luai  ${PROJECT_SOURCE_DIR}/bin)
#ADD_SUBDIRECTORY(Lanes ${PROJECT_SOURCE_DIR}/bin)
ADD_SUBDIRECTORY(toluapp  ${PROJECT_SOURCE_DIR}/lib)
ADD_SUBDIRECTORY(tolua++  ${PROJECT_SOURCE_DIR}/bin)
ADD_SUBDIRECTORY(luabind ${PROJECT_SOURCE_DIR}/lib)
ADD_SUBDIRECTORY(ScriptedStateMachine ${PROJECT_SOURCE_DIR}/bin)
ADD_SUBDIRECTORY(linkermod ${PROJECT_SOURCE_DIR}/bin)
add_subdirectory(luathreadpool ${PROJECT_SOURCE_DIR}/bin)
#add_subdirectory(WindowsRegistry20060902 bin)
add_subdirectory(concurrentlua ${PROJECT_SOURCE_DIR}/bin)
add_subdirectory(luaservice ${PROJECT_SOURCE_DIR}/bin) 
add_subdirectory(asiotest ${PROJECT_SOURCE_DIR}/bin) 
set_target_properties(linkermod 
			PROPERTIES
			OUTPUT_NAME "linkermod"
	
	
	)



